#include <iostream>
using namespace std;

int main()
{
	int num1 = 0, num2 = 0;

	bool isEqual = (num1 == num2);
	cout  << isEqual << endl;

	bool isUnequal = (num1 != num2);
	cout  << isUnequal << endl;

	bool isGT = (num1 > num2); // 大于
	cout  << isGT << endl;

	bool isLT = (num1 < num2); // 小于
	cout  << isLT << endl;

	bool isGTE = (num1 >= num2); // 大于等于
	cout << isGTE << endl;

	bool isLTE = (num1 <= num2); // 小于等于
	cout << isLTE << endl;

    auto resultofComparison = (num1 <=> num2); // new in C++20

   if (resultofComparison < 0)
      cout << "num1 is less than num2" << endl;
   else if (resultofComparison > 0)
      cout << "num1 is greater than num2" << endl;
   else // comparison evaluates to zero
      cout << "They're equal" << endl;

	return 0;
}